home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
50 Windows Games 3
/
50 Windows Games 3.iso
/
win50_3
/
life
/
life.rc
< prev
next >
Wrap
Text File
|
1991-05-22
|
3KB
|
67 lines
/****************************************************************************
* File: Life.rc
*
* Description: Resource file for the LIFE simulation
*****************************************************************************/
#include <windows.h>
#include "life.h"
LIFEICON icon life.ico
HAND cursor hand.cur
MainMenu MENU
BEGIN
POPUP "&Run"
BEGIN
MENUITEM "St&art\t^R" MENU_RUN
MENUITEM "St&ep\t^E" MENU_STEP
END
POPUP "&Options"
BEGIN
MENUITEM "&Clear\t^C" MENU_CLEAR
MENUITEM "&Gridlines Off\t^G" MENU_GRID
MENUITEM "Set &Timer\t^T" MENU_TIMER
MENUITEM SEPARATOR
MENUITEM "&Small Grid\t^S" MENU_SMALL
MENUITEM "&Medium Grid\t^M" MENU_NORM
MENUITEM "&Large Grid\t^L" MENU_LARGE
END
MENUITEM "&About!", MENU_ABOUT
END
LifeKeys ACCELERATORS
BEGIN
"R", MENU_RUN, NOINVERT, CONTROL, VIRTKEY
"E", MENU_STEP, NOINVERT, CONTROL, VIRTKEY
"C", MENU_CLEAR, NOINVERT, CONTROL, VIRTKEY
"G", MENU_GRID, NOINVERT, CONTROL, VIRTKEY
"T", MENU_TIMER, NOINVERT, CONTROL, VIRTKEY
"S", MENU_SMALL, NOINVERT, CONTROL, VIRTKEY
"M", MENU_NORM, NOINVERT, CONTROL, VIRTKEY
"L", MENU_LARGE, NOINVERT, CONTROL, VIRTKEY
END
TIMERDLGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 8, 28, 178, 68
CAPTION "Life Cycle Timer"
STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
BEGIN
CONTROL "Enter the Life Cycle Time Value (in milliseconds)", -1, "static", SS_CENTER | WS_CHILD, 2, 10, 174, 8
CONTROL "Valid Entries are [100 - 999]", -1, "static", SS_LEFT | WS_CHILD, 26, 22, 98, 8
CONTROL "", TIMER_EDIT, "edit", ES_LEFT | WS_BORDER | WS_TABSTOP | WS_CHILD, 136, 20, 16, 12
CONTROL "&Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_CHILD, 26, 44, 42, 14
CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 110, 44, 42, 14
END
ABOUTBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 22, 20, 156, 86
STYLE WS_DLGFRAME | WS_POPUP
BEGIN
CONTROL "LIFEICON", -1, "static", SS_ICON | WS_CHILD, 70, 8, 16, 16
CONTROL "Windows 3.0 Simulation V1.1", -1, "static", SS_CENTER | WS_CHILD, 2, 28, 152, 8
CONTROL "Copyright (C) 1991 Tom Wheeler", -1, "static", SS_CENTER | WS_CHILD, 0, 40, 152, 8
CONTROL "", ABOUT_TIMESTAMP, "static", SS_CENTER | WS_CHILD, 2, 52, 152, 8
CONTROL "Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_CHILD, 58, 66, 40, 14
END